home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Taifun / Taifun 054 (1988-05-15)(Ossowski, Stefan)(DE)(PD).zip / Taifun 054 (1988-05-15)(Ossowski, Stefan)(DE)(PD).adf / MRBackup / MRBackup2.0 / Console.h < prev    next >
C/C++ Source or Header  |  1988-04-09  |  568b  |  22 lines

  1. /* Console I/O Routines Header File
  2.  * Filename: ConsoleStuff.h
  3.  *
  4.  * This header file defines information used by routines supplied in
  5.  * Rob Peck's "Programmer's Guide to the Amiga", 1987.
  6.  */
  7.  
  8. #include <exec/io.h>
  9.  
  10. typedef struct ConIOBlocks {
  11.     struct IOStdReq *writeReq;            /* I/O write request */
  12.     struct IOStdReq *readReq;            /* I/O read request */
  13.     struct MsgPort *tpr;                /* pointer to ReplyPort */
  14.                                         /* for the console read */
  15.     } ConIOBlocks;
  16.  
  17. void ConWrite();
  18. ConIOBlocks *CreateConsole();
  19. int DeleteConsole();
  20. void EnqueueRead();
  21. int CGetCharacter();
  22.